old_atring = ' Life is short, Use Python ! '
string_atr = old_atring.strip()
lstrip_str = old_atring.lstrip()
rstrip_str = old_atring.rstrip()
print(f'strip方法:(strip_str)')
print(f'lstrip方法:(lstrip_str)')
print(f'rstrip方法:(rstrip_str)')